﻿<UserControl x:Class="Airborne.ScrumPoker.Module.ProductOwner.Views.ProjectOwnerView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Airborne.ScrumPoker.Module.ProductOwner"
    xmlns:cal="http://www.codeplex.com/CompositeWPF"
    Height="Auto" MinWidth="500" Width="Auto" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" HorizontalAlignment="Left">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="178" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="250"/>
            <RowDefinition Height="370"/>
        </Grid.RowDefinitions>

        <Border Grid.Column="0" Grid.Row="0" Background="#FFDADAE1" Margin="2,2,2,2" BorderThickness="0,0,0,0"  CornerRadius="5" Padding="4" >
            <ContentControl cal:RegionManager.RegionName="{x:Static local:RegionNames.WorkItemRegion}" />
        </Border>
        <Border Grid.Column="1" Grid.Row="0" CornerRadius="5" Padding="4" Background="#FFA3A3B4" Margin="2,2,2,2" BorderThickness="0,0,0,0" >
            <ContentControl cal:RegionManager.RegionName="{x:Static local:RegionNames.ControlRegion}" />
        </Border>
        <Border Grid.ColumnSpan="2" Grid.Row="1" Background="#FFFFFFFF" Margin="2,2,2,2" BorderThickness="1,1,1,1" BorderBrush="#FFDADAE1" Padding="0,0,0,0">
            <ContentControl cal:RegionManager.RegionName="{x:Static local:RegionNames.VotingRegion}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Width="Auto" />
        </Border>
    </Grid>
</UserControl>
